﻿using iTextSharp.text;
using iTextSharp.text.pdf.qrcode;
using Nop.Core.Domain.Media;
using System.Collections.Generic;

namespace Nop.Services.Media
{
    public interface ICodePictureService
    {
        Picture QrCodeEncode(string contents, int width, int height);
        Image QrCodeEncodeToImage(string contents, IDictionary<EncodeHintType, object> hints, int width, int height);
        Image QrCodeEncodeToImage(string contents, int width, int height);
        string QrCodeDecode(Picture picture);
    }
}
